#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
@File Name: urls.py
@Author: LTisme
@Date: 2021/12/25 17:10
# -----------------------------------------------------------------------------------------------------
@Description: 
write here
# -----------------------------------------------------------------------------------------------------
"""
from django.urls import path, include
from . import views

app_name = "users"                                      # app_name的设置让Django能够区分不同应用程序之间的URL。那个learning_logs:XXX就是如此
urlpatterns = [
    # 包含默认的身份验证URL
    path("", include("django.contrib.auth.urls")),      # 这模式与http://localhost:8000/users/login/匹配
    # 注册页面
    path("register/", views.register, name="register"),
]

if __name__ == '__main__':
    pass
